<%@ page language="java" import="java.util.*,com.iWen.survey.sql.*,com.iWen.survey.dao.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<script language="JavaScript" src="/Js/Func.js"></script>
	<script language="javascript">window.onload=tableFix;</script>
	<link rel="stylesheet" href="/Css/Admin.css" type="text/css" />
	<script language="javascript" type="text/javascript" src="/Js/Date.js"></script>
</head>
<body>
<div class=nav>问卷添加</div> 
<form name="from1" action="<%=basePath%>surveyManage/addSurvey.do?op=AddSurvey" method="post" onSubmit="return CheckForm();">
<table width="585" border="0" cellspacing="0" cellpadding="0" class="table">
  <tr>
    <th>问卷添加</th>
    <th>&nbsp;</th>
    <th width="374"><span class="R">*</span> 为必填项目 </th>
  </tr>
  <tr>
    <td>问卷名称</td>
    <td><input name="Survey_name" type="text" size="50"></td>
    <td width="374"><span class="R">*</span> 问卷的名称，既问卷的总标题</td>
  </tr>
  <tr>
    <td>问卷发起人(单位)</td>
    <td><input name="Survey_author" type="text" size="50"></td>
    <td width="374"><span class="R">*</span> 问卷发起人，此问卷的所有单位</td>
  </tr>
  <tr>
    <td>问卷描述</td>
    <td><textarea rows="2" name="Survey_description" cols="60" onpropertychange="this.style.posHeight=this.scrollHeight"></textarea></td>
    <td> &nbsp;&nbsp;对此问卷的简单描述，这段描述将放在问卷前</td>
  </tr>
  <tr>
    <td>问卷结束日期</td>
    <td><input type="text" name="Survey_ExpireDate"   readOnly="" onClick="setDay(this);" value="<%=new java.sql.Date(System.currentTimeMillis() +1000L*60*60*24*30)%>"></td>
    <td><span class="R">*</span> 问卷结束日期，到期后该问卷将不能接受</td>
  </tr>

 
  <tr>
    <td width="179">&nbsp;</td>
    <td>
		<div id="button">
			<input type="submit" name="submit" value="完成">
			<input type="button" onclick="javascript:history.back();" value="取消">
			
		</div>
	</td>
    <td>&nbsp;</td>
  </tr>
</table>  
</form>
</body>
</html>